class B2_2_5
{
	public static void main(String [] args)
	{
		int n = 5;
		int i = 1;
		int summe = 0;
		while (i <= n)
			{
			summe = summe + i * i;
			i ++;
			}
		
		System.out.println(summe);
	}
}